package com.xiao.tripmateai.model.dto.chat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

// SpringAiChatMemory.java
@Data
@TableName("SPRING_AI_CHAT_MEMORY")
public class SpringAiChatMemory {
    @TableId(value = "conversation_id", type = IdType.NONE)
    private String conversationId;
    
    private String content;
    
    private String type;
    
    @TableField("`timestamp`") // 使用反引号转义关键字
    private Date timestamp;
}